package com.home.Entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="CHAMCONG")
public class ChamCong {
	
	@Id
	@Column(name="CHC_MASO")
	private long maSo;
	@ManyToOne
	@JoinColumn(name="CHC_NHANVIEN")
	private NhanVien nhanVien;
	@Column(name="CHC_NGAY")
	private Date ngay;
	@Column(name="CHC_TGDEN")
	private Date tgDen;
	@Column(name="CHC_TGVE")
	private Date tgVe;
	@Column(name="CHC_GHICHU")
	private String ghiChu;
	public long getMaSo() {
		return maSo;
	}
	public void setMaSo(long maSo) {
		this.maSo = maSo;
	}
	public NhanVien getNhanVien() {
		return nhanVien;
	}
	public void setNhanVien(NhanVien nhanVien) {
		this.nhanVien = nhanVien;
	}
	public Date getNgay() {
		return ngay;
	}
	public void setNgay(Date ngay) {
		this.ngay = ngay;
	}
	public Date getTgDen() {
		return tgDen;
	}
	public void setTgDen(Date tgDen) {
		this.tgDen = tgDen;
	}
	public Date getTgVe() {
		return tgVe;
	}
	public void setTgVe(Date tgVe) {
		this.tgVe = tgVe;
	}
	public String getGhiChu() {
		return ghiChu;
	}
	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}
	
	
}
